package com.atguigu.spzx.user.feign;

import com.atguigu.spzx.user.dto.UserAddressDetailsRespDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 * UserFeignClient
 * </p>
 *
 * @author flyduck
 * @since 2023/11/6
 */
@FeignClient(value = "spzx-user-service")
public interface UserFeignClient {
    @GetMapping("/api/user/userAddress/getUserAddressById/{id}")
    public UserAddressDetailsRespDto getUserAddressById(@PathVariable("id") Long id);
}
